<%--
  Created by IntelliJ IDEA.
  User: hubin
  Date: 2017/2/28
  Time: 13:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>Hello,World!</title>
    <script type="text/javascript">
        function changeImg(img){
            img.src = img.src + "?" + new Date().getTime();
        }
    </script>
  </head>
  <br>
      用户名：<input type="text" name="text"/><br/>
      密  码：<input type="password" name="password"/><br/>
      验证码：<input type="text" name="code"/></br>
        <img src="/randomgraphics" onclick="changeImg(this)"/>
    </form>
  </body>
</html>
